package gl;

public class API {
	public static  String HOST = "121.41.26.194";
	public static  String PORT = "8080";
	public static  String URL = "http://" + HOST + ":" + PORT
			+ "/by_webservice/";
	
	public static  String URL_UPLOAD = "http://" + HOST + ":" + PORT
			+ "/by_uploadphoto/UploadServlet";
	public static  String IMAGEURL = URL;
	static {
//		if (!gl.android.biyiqing.BuildConfig.DEBUG) {
			if (/*!gl.android.biyiqing.BuildConfig.DEBUG*/true) {
			System.out.println("release");
			HOST = "116.211.116.168";
			URL = "http://" + HOST + ":" + PORT + "/by_webservice/";

			URL_UPLOAD = "http://" + HOST + ":" + PORT
					+ "/by_uploadphoto/UploadServlet";
			IMAGEURL = URL;

			IMAGEURL = "http://www.biyilove.cn/";
		}else{
			System.out.println("debug");
		}
	}
}
